package com.telewave.stompdemo.conf.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * StompBrokerRelay配置项
 *
 * @author looveh
 * @since 2023/10/31 15:18:37
 **/
@Data
@Component
@ConfigurationProperties(prefix = "spring.stomp.broker-relay")
public class StompBrokerRelayProperties {

    private String host;

    private Integer port = 61613;

    private String virtualHost;

    private String clientUsername = "guest";

    private String clientPassword = "guest";

    private String systemUsername = "guest";

    private String systemPassword = "guest";

    private Long systemHeartbeatSendInterval = 10000L;

    private Long systemHeartbeatReceiveInterval = 10000L;
}
